<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('登錄帳號')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-source="auth/admin/index" data-primary-key="id"
                   data-field="username" class="form-control selectpage" name="row[admin_id]" type="text"
                   value="0">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype1_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype1_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype2_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype2_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype3_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype3_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype4_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype4_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype5_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype5_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能6')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype6_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype6_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能7')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype7_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype7_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能8')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype8_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype8_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能9')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype9_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype9_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能10')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proceduretype10_id" data-rule="" data-source="wu/proceduretype/index" class="form-control selectpage" name="row[proceduretype10_id]" type="text" value="">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
